---
title: Toolbar
description: A container for grouping a set of controls, such as buttons, toggle groups or dropdown menus.
component: true
links:
  doc: https://www.radix-ui.com/docs/primitives/components/toolbar
  api: https://www.radix-ui.com/docs/primitives/components/toolbar#api-reference
---

## Installation

<Tabs defaultValue="cli">

<TabsList>
<TabsTrigger value="cli">CLI</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">

```bash
npx @udecode/plate-ui@latest add toolbar
```

</TabsContent>

<TabsContent value="manual">

<Steps>

<Step>

Install the following dependencies:

```bash
npm install @radix-ui/react-toolbar
```

- [Separator](/docs/components/separator)
- [Tooltip](/docs/components/tooltip)

</Step>

<Step>

Copy and paste the following code into your project.

</Step>

<ComponentSource name="toolbar" />

<Step>

Update the import paths to match your project setup.

</Step>

</Steps>

</TabsContent>

</Tabs>

## Examples

<ComponentSource name="fixed-toolbar" />
